package com.seu.me.test.claim;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @author liangfeihu
 * @since 2019/10/24 15:32
 */
@Data
@ToString
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "body")
public class ClaimNoticeInfo {

    @XmlElement(name = "LLEndClaimInfoList")
    private ClaimNoticeData claimNoticeData;

    @Data
    @ToString
    @NoArgsConstructor
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class ClaimNoticeData {
        @XmlElements(value = {@XmlElement(name = "LLEndClaimInfo", type = ClaimNotice.class)})
        private List<ClaimNotice> claimNoticeList;
    }

    @Data
    @ToString
    @NoArgsConstructor
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class ClaimNotice {
        private String OutRgtNo;
        private String ApplyNo;
        private String GrpApplyNo;
        private String State;
    }

}
